package com.jumaojiang.mapper;

import com.jumaojiang.pojo.RsVideo;
import com.jumaojiang.pojo.RsVideoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RsVideoMapper {
    long countByExample(RsVideoExample example);

    int deleteByExample(RsVideoExample example);

    int deleteByPrimaryKey(Integer videoId);

    int insert(RsVideo record);

    int insertSelective(RsVideo record);

    List<RsVideo> selectByExample(RsVideoExample example);

    RsVideo selectByPrimaryKey(Integer videoId);

    int updateByExampleSelective(@Param("record") RsVideo record, @Param("example") RsVideoExample example);

    int updateByExample(@Param("record") RsVideo record, @Param("example") RsVideoExample example);

    int updateByPrimaryKeySelective(RsVideo record);

    int updateByPrimaryKey(RsVideo record);

    List<String> querySection(@Param("chaId") Integer chaId);
}